{"ast":null,"code":"var _s = $RefreshSig$();\nimport React from 'react';\nimport { observer } from \"mobx-react-lite\";\nimport { Context } from \"../index\";\nimport { Fragment as _Fragment } from \"react/jsx-dev-runtime\";\nimport { jsxDEV as _jsxDEV } from \"react/jsx-dev-runtime\";\nconst GetUserDialog = props => {\n  _s();\n  const {\n    store\n  } = React.useContext(Context);\n  React.useEffect(() => {\n    if (!props.selfProfile) {\n      store.getChats().items.map((item, index) => {\n        if (!item.multiChat) {\n          var _item$membership;\n          (_item$membership = item.membership) === null || _item$membership === void 0 ? void 0 : _item$membership.items.map((item, index) => {});\n        }\n      });\n    }\n  }, [props.profile]);\n  return /*#__PURE__*/_jsxDEV(_Fragment, {}, void 0, false);\n};\n_s(GetUserDialog, \"iNyjXxJQPxhFHZ0QvxkLP6AbkAo=\");\n_c = GetUserDialog;\nexport default _c2 = observer(GetUserDialog);\nvar _c, _c2;\n$RefreshReg$(_c, \"GetUserDialog\");\n$RefreshReg$(_c2, \"%default%\");","map":{"version":3,"names":["React","observer","Context","GetUserDialog","props","store","useContext","useEffect","selfProfile","getChats","items","map","item","index","multiChat","membership","profile"],"sources":["/data/messenger.client/src/containers/GetUserDialog.tsx"],"sourcesContent":["import React from 'react';\nimport {observer} from \"mobx-react-lite\";\nimport {Context} from \"../index\";\nimport {GetUserDialog as GetUserDialogComponent} from \"../components\";\nimport {UserProfileProps} from \"../models/props/UserProfileProps\";\n\nconst GetUserDialog: React.FC<UserProfileProps> = (props) => {\n    const {store} = React.useContext(Context);\n\n    React.useEffect(() => {\n        if (!props.selfProfile) {\n            store.getChats().items.map((item, index) => {\n                if (!item.multiChat) {\n                    item.membership?.items.map((item, index) => {\n                        \n                    });\n                }\n            });\n        }\n\n    }, [props.profile]);\n\n    return (<></>);\n}\n\nexport default observer(GetUserDialog);"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAQC,QAAQ,QAAO,iBAAiB;AACxC,SAAQC,OAAO,QAAO,UAAU;AAAC;AAAA;AAIjC,MAAMC,aAAyC,GAAIC,KAAK,IAAK;EAAA;EACzD,MAAM;IAACC;EAAK,CAAC,GAAGL,KAAK,CAACM,UAAU,CAACJ,OAAO,CAAC;EAEzCF,KAAK,CAACO,SAAS,CAAC,MAAM;IAClB,IAAI,CAACH,KAAK,CAACI,WAAW,EAAE;MACpBH,KAAK,CAACI,QAAQ,EAAE,CAACC,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,KAAK;QACxC,IAAI,CAACD,IAAI,CAACE,SAAS,EAAE;UAAA;UACjB,oBAAAF,IAAI,CAACG,UAAU,qDAAf,iBAAiBL,KAAK,CAACC,GAAG,CAAC,CAACC,IAAI,EAAEC,KAAK,KAAK,CAE5C,CAAC,CAAC;QACN;MACJ,CAAC,CAAC;IACN;EAEJ,CAAC,EAAE,CAACT,KAAK,CAACY,OAAO,CAAC,CAAC;EAEnB,oBAAQ,qCAAK;AACjB,CAAC;AAAA,GAjBKb,aAAyC;AAAA,KAAzCA,aAAyC;AAmB/C,qBAAeF,QAAQ,CAACE,aAAa,CAAC;AAAC;AAAA;AAAA"},"metadata":{},"sourceType":"module"}